package hy.config;
import hy.beans.User;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
//@ConditionalOnBean(name="user")
@ConditionalOnClass(User.class)
@Configuration
public class Mycfg {

}
